package com.xyoto.community.vo;

import com.xyoto.community.entity.picture.DynamicPicture;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 动态VO
 */
@Data
@ApiModel("动态VO")
public class DynamicVo {

    @ApiModelProperty("动态id")
    private Integer dynamicId;

    @ApiModelProperty("头像链接")
    private String avatar;

    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("话题id")
    private Integer topicId;

    @ApiModelProperty("动态内容")
    private String content;

    @ApiModelProperty("动态图片组")
    private List<DynamicPicture> dynamicPictureList;
}
